language: node_js

node_js:
  - 14

before_install:
  - npm install codecov -g

script:
  - npm run lint
  - npm test

after_success:
  - codecov

cache:
  directories:
    - node_modules
